<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<title>TextBox inside ScrollableView</title>

	<script type="text/javascript" src="../deviceTheme.js"></script>
	<script type="text/javascript" src="../../../dojo/dojo.js" 
		data-dojo-config="async: true, parseOnLoad: true, mblHideAddressBar: true, mblAlwaysHideAddressBar: false"></script>

	<!-- The purpose of this test is to allow testing the behavior of ScrollableView when 
		it contains TextBoxes and fixed headers and footers. -->
		
	<script type="text/javascript">
		require([
			"dojox/mobile/parser",
			"dojox/mobile",
			"dojox/mobile/compat",
			"dojox/mobile/ScrollableView",
			"dojox/mobile/TabBar",
			"dojox/mobile/TabBarButton",
			"dojox/mobile/TextBox"
		]);
	</script>

	<style>
	html,body{
		height: 100%;
		overflow: hidden;
	}
	</style>
</head>
<body style="visibility:hidden;">
	<div id="group1" data-dojo-type="dojox.mobile.View">
		<ul data-dojo-type="dojox.mobile.TabBar" data-dojo-props='barType:{"iphone_theme":"segmentedControl","*":"tallTab"}, fixed:"top"'>
			<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-16.png", icon2:"images/tab-icon-16h.png", selected:true'>New</li>

			<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-15.png", icon2:"images/tab-icon-15h.png"'>What's Hot</li>
			<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-10.png", icon2:"images/tab-icon-10h.png"'>Genius</li>
		</ul>
		<div id="view1" data-dojo-type="dojox.mobile.ScrollableView">
			<ul data-dojo-type="dojox.mobile.EdgeToEdgeList" class="list1">
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field1"' style="margin-bottom: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field2"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field3"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field4"' style="margin-top: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field5"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field6"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field7"' style="margin-bottom: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field8"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field9"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field10"' style="margin-top: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field11"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field12"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field13"' style="margin-bottom: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field14"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field15"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field16"' style="margin-top: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field17"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field18"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field19"' style="margin-bottom: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field20"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field21"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field22"' style="margin-top: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field23"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field24"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field25"' style="margin-bottom: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field26"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field27"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field28"' style="margin-top: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field29"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field30"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field31"' style="margin-bottom: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field32"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field33"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field34"' style="margin-top: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field35"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field36"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field37"' style="margin-bottom: 0;" required>
				</li>

				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field38"' style="margin-top: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="text" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field39"' style="margin-bottom: 0;" required>
				</li>
				<li>
				<input data-dojo-type="dojox.mobile.TextBox" type="password" data-dojo-props='scrollOnFocus:true, selectOnClick:true, placeHolder:"field40"' style="margin-top: 0;" required>
				</li>

			</ul>
		</div>

	</div>

	<ul data-dojo-type="dojox.mobile.TabBar" data-dojo-props='fixed:"bottom"' style="border-bottom:none;">
		<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-16.png", icon2:"images/tab-icon-16h.png", selected:true'>Featured</li>
		<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-15.png", icon2:"images/tab-icon-15h.png"'>Categories</li>
		<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-10.png", icon2:"images/tab-icon-10h.png"'>Top 25</li>

		<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-11.png", icon2:"images/tab-icon-11h.png"'>Search</li>
		<li data-dojo-type="dojox.mobile.TabBarButton" data-dojo-props='icon1:"images/tab-icon-13.png", icon2:"images/tab-icon-13h.png"'>Updates</li>
	</ul>
</body>
</html>
